package main.java.com.example.demo.innoket.util;

import java.io.File;

/**
 */
public class GeneratorConfig {

	//0:Sequeuece自增；1：UUID随机
	public static final int ID_GENERATE_STRATGE = 0;

	public static final String[] EXCLUDE_COL = new String[] { "id", "deleted","createTime","updateTime",
			"updateBy" , "remark"};
	public static enum ModulePath {

		//TODO -----------------------------2.此处需要修改表前缀，life_car 改为 life\\car  life_是标准前缀, car是模块名----------------------------

//		PHP_COMMON_BASE("地图模块","game\\wow","");
		//java项目结构 项目名 src/main 下面的 com.idle.idlewow 前后不要双反斜杠
		JAVA_COMMON_BASE("地图模块","com\\idle\\idlewow\\dao","src\\main\\resources\\mapper");
//		PHP_COMMON_BASE("会员服务","\\com\\life\\common\\member","");

		//模块名称
		public String name;
		//项目内Dao相对路劲
		public String daoPath;
		//项目内Mapper相对路劲
		public String mapperPath;

		private ModulePath(String name, String daoPath, String mapperPath) {
			this.name = name;
			this.daoPath = daoPath;
			this.mapperPath = mapperPath;
		}

		public String getPath(FileType type) {
			return type.getType().replace(".", File.separator);
		}
	}
}
